home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
puppy_red.swf
/
scripts
/
DefineSprite_96
/
frame_9
/
DoAction.as
Wrap
Text File
|
2008-03-11
|
396b
|
15 lines
if(_root.getBytesLoaded() < _root.getBytesTotal())
{
stop();
loadingbar.onEnterFrame = function()
{
trace(this._x);
this._x = _root.getBytesLoaded() * 100 / _root.getBytesTotal() * 1.47 + -143.7;
if(_root.getBytesLoaded() >= _root.getBytesTotal())
{
this._parent.gotoAndPlay("loadingOk");
this.onEnterFrame = null;
}
};
}